//
//  SingletonTest.m
//  Charles
//
//  Created by Charles on 2017/6/20.
//  Copyright © 2017年 charles. All rights reserved.
//

#import "SingletonTest.h"
#import "CLUserInfo.h"

@implementation SingletonTest

+ (void)test {
    CLUserInfo * userInfo = [CLUserInfo sharedInstance];
    userInfo.age = 30;
    
    CLUserInfo * userInf = [[CLUserInfo alloc]init];
    NSLog(@"userinfo is %@ -- %@ age is %ld -- %ld",userInfo, userInf,userInfo.myAge,userInf.myAge);
    
    userInf.age = 29;
    NSLog(@"userinfo is %@ -- %@ age is %ld -- %ld",userInfo, userInf,userInfo.myAge,userInf.myAge);

}

@end
